<div id="registration">
	<h1>Login</h1>
	<% flash.each do |key, value| %>
    <%= content_tag(:div, value, :class => "flash #{key}") %>
  	<% end %>

	
<%= form_tag(:action => 'auth') do%>
  <div class="field">
    <%= label_tag "email" %><br />
    <%= text_field_tag :login_email %>
  </div>
  <div class="field">
    <%= label_tag "password" %><br />
    <%= password_field_tag :login_password %>
  </div>
  <div class="actions">
    <%= submit_tag "Login",:class => 'btn'%>
  </div>
<% end %>
	<%= link_to 'Back', :controller => 'default',:action => 'index' %>
</div>